/* 声明字体图标  要改路径*/
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?tomleg");
  src: url("../fonts/icomoon.eot?tomleg#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?tomleg") format("truetype"),
    url("../fonts/icomoon.woff?tomleg") format("woff"),
    url("../fonts/icomoon.svg?tomleg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
body {
  font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB,
    "\5B8B\4F53", sans-serif;
  color: #666;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}
/* 版心 */
.w {
  width: 1200px;
  margin: 0 auto;
}
h1 {
  margin: 0px;
  padding: 0px;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #666;
  cursor: pointer;
}
input {
  /* 去除边框和点击时显示的边框 */
  border: 0;
  outline: none;
  padding: 0;
  margin: 0;
}
/* 快捷导航栏 */
.shortcut {
  width: 100%;
  height: 31px;
  background-color: #f1f1f1;
  line-height: 31px;
}
.shortcut li {
  float: left;
}
.shortcut .w ul:nth-child(1) li {
  float: left;
}
.shortcut .w ul:nth-child(1) li:nth-child(2) a:nth-child(2) {
  color: #c81623;
}
.shortcut .w ul:nth-child(1) li a:hover {
  color: #c81623;
}
.shortcut .w div {
  float: right;
}
/* 伪类选择器 */
.shortcut .w div li:nth-child(2n) {
  line-height: 31px;
  padding: 0 12px;
}
/* 利用伪元素往盒子后面加个图标 */
.arrow-icon::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-left: 2px solid #706866;
  border-bottom: 2px solid #706866;
  transform: rotate(-45deg);
  line-height: 31px;
  margin-left: 8px;
  vertical-align: middle;
}
/* 页面头部 */
.header {
  height: 105px;
  position: relative;
}
/* logo图标 */
.header .logo {
  width: 171px;
  height: 61px;
  position: absolute;
  top: 27px;
}
.header .logo a {
  display: block;
  width: 171px;
  height: 61px;
  background: url(../images/logo.png) no-repeat;
  background-size: 171px 61px;
  /* 隐藏文字  */
  font-size: 0;
}
/* 搜过框*/
.header .search {
  width: 538px;
  height: 36px;
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid #b1191a;
}
.header .search {
  display: flex;
}
.header .search input {
  flex: 1;
  height: 100%;
  padding-left: 10px;
}
/* 行内块元素之间会有间隙 */
.header .search button {
  border: 0;
  background-color: #b1191a;
  width: 80px;
  height: 32px;
  height: 100%;
  color: #fff;
}
.header .items {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-59%);
}
/* 行内块元素可以加左右padding值 */
.header .items li {
  display: inline-block;
  padding: 0 10px;
}
.header .items li a:hover {
  color: #b1191a;
}

/* 购物车 */
.header .shopcar {
  width: 140px;
  height: 35px;
  background-color: #f1f1f1;
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  line-height: 35px;
}
.header .shopcar::before {
  /* 字体图标转义 */
  content: "\e93a";
  font-family: "icomoon";
  color: #b1191a;
  margin-right: 4px;
}
.header .shopcar::after {
  /* 字体图标转义 */
  content: "\e920";
  font-family: "icomoon";
  margin-left: 8px;
}
.header .shopcar i {
  padding: 0 5px;
  position: absolute;
  /* 重新设置行高 居中 */
  line-height: 14px;
  top: -5px;
  left: 105px;
  height: 14px;
  background-color: #b1191a;
  color: #fff;
  border-radius: 7px 7px 7px 0;
}
/* nav部分 */
.nav{
  height: 47px;
  border-bottom: 2px solid #b1191a;
}
.nav .dropdown{
    float: left;
}
.nav .dropdown .dt{
    height: 45px;
    width: 210px;
    background-color: #b1191a;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 45px;
}
.nav .dropdown .dd{
    display: none;
    background-color: #c81623;
    width: 210px;
    margin-top: 2px;
}
 
.nav .dropdown .dd ul li{
    font-size: 14px;
    width: 210px;
    height: 31px;
    line-height: 31px;
    padding-left: 10px;
}
.nav .dropdown .dd ul li a{
    color: #fff;
}
 
.nav .dropdown .dd li:hover{
    background-color:#fff;
    color: #c81623;
    cursor: pointer;
    margin-left: 2px;
}
.nav .dropdown .dd li:hover a{
    color: #c81623;
}
.nav .dropdown .dd ul li::after{
    content: "\e920";
    font-family: "icomoon";
    color: #fff;
    float: right;
    padding-right: 12px;
}
.nav .navitems{
    height: 45px;
    line-height: 45px;
    font-size: 16px;
}
/* 将padding值给小a 这样方便点击 */
.nav .navitems a{
    padding: 0 25px;
}
.nav .navitems a:hover{
   color: #c81623;
}
/* 页面底部 */
footer{
    height: 414px;
    width: 100%;
    background-color: #f5f5f5;
    margin-top: 31px;
}
footer .mod-service{
    height: 110px;
    padding-top: 30px;
    border-bottom: 1px solid #ccc;
    display: flex;
}
footer .mod-service .service-item{
    flex: 1;
    padding-left: 40px;
}
footer .mod-service .service-item h5{
    height: 50px;
    width: 50px;
    background: url(../images/icons.png) no-repeat -252px -2px;
    float: left; 
    margin-right: 8px;
}
footer .mod-service .service-item h3{
     font-size: 14px;
}
footer .mod-service .service-item span{
    font-size: 12px;
}
footer .mod-help{
    height: 185px;
    padding-top: 21px;
    border-bottom: 1px solid #ccc;
    display: flex;
}
footer .mod-help .help-item{
    flex:1;
    padding-left: 50px;
}
footer .mod-help .help-item .dd{
    font-size: 16px;
    padding-bottom: 12px;
}
footer .mod-help .help-item .dt a{
    font-size: 12px;
}
footer .mod-help .help-item .dt a:hover{
    color: #c81623;
}
footer .mod-help .help-item:last-child{
     text-align: center;
}
.mod_copyright{
  font-size: 14px;
  padding-top:20px;
  text-align: center;
}
.mod_copyright .links a{
   padding: 0 8px;
}
.mod_copyright .links a:hover{
  color: #c81623;
}
.copyright{
  padding-top:15px;
  line-height: 20px;
}
